#ifndef ARCHWIKI_H
#define ARCHWIKI_H

#include "wiki.h"

/**
 * @brief The ArchWiki class
 * @deprecated 直接使用数据集
 */
class ArchWiki : public Wiki
{
public:
    enum Type {
        Normal,
        Api,
    };
    ArchWiki(Type type = Normal);

    // Wiki interface
public:
    QString name() override;
    QString prefix() override;
    WIKI_AUTOLOAD
    WIKI_AUTOLOAD_FIRST
    WIKI_USE_LIST
    WIKI_USE_URL
    QList<QListWidgetItem *> searching_item(const QString &text) override;
    QString content_item(const QListWidgetItem *item) override;

private:
    Type m_type;
};

#endif // ARCHWIKI_H
